Skip to main content

TFRect

Unit: sgConsts

Description

Represents the dimensions of 3D rectangle. The coordinates are specified as either four separate floating-point values representing the left, top, right, and bottom sides, or as two 3D points representing the locations of the top-left and bottom-right corners.

Syntax

type TFRect = record
case Integer of
0: (Left, Top, Z1, Right, Bottom, Z2: TsgFloat);
1: (TopLeft, BottomRight: TFPoint);
end;